<?php		
?>
<div class="admin-content">
<h3>Thống kê doanh thu</h3>
	<form class="form-inline" role="form" action="/admin/statistic/" method="POST">
	  <div class="form-group">
	    <label for="exampleInputEmail2"> Từ ngày: </label>
	    <input name="from" type="date" class="form-control" id="exampleInputEmail2" required>
	  </div>
	  <div class="form-group">
	    <label for="exampleInputPassword2"> Đến: </label>
	    <input name="to" type="date" class="form-control" id="exampleInputPassword2" required>
	  </div>
	  <button type="submit" class="btn btn-primary">Xem</button>
	</form>	
	<table id="statistic-table" class="table">
		<thead>
			<tr>
				<td>STT</td>
				<td>Mã hàng</td>
				<td>Tên hàng</td>
				<td>Số lượng</td>
				<td>Đơn giá</td>
				<td>Thành tiền</td>
			</tr>
		</thead>
		<tbody>
			<tr style="background-color:#eee;">
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td id="#sum">Tổng: </td>
			</tr>
		</tbody>
	</table>
</div>

<style type="text/css" media="screen">
	.admin-content{
		height: inherit;
		margin-top: 0px;
	}
	#statistic-table thead{
		font-weight: bold;
	}
	#statistic-table tbody tr:hover{
		background-color: #eee;
		cursor: pointer;
	}
</style>